<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
	  	<base href="<%=basePath%>">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>管理菜单</title>
		<link href="back/css/left.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="back/js/jquery-1.7.2.js"></script>
		
	</head>

	<body>
		<div id="left">
			<div class="left_1">
				<span>管理菜单</span>
			</div>
			<div class="left_2">
				
				<s:if test="cateMap!=null">
					<s:iterator value="cateMap.keySet()" id="ct">
						<div class="left_21">
							<div class="left_211">
									<a href="<s:property value='#ct.url' /><s:property value='#ct.cateId' />">
										<span><s:property value="#ct.title" /></span>
									</a>
							</div>
							<div class="left_212">
								<ul>
									<s:iterator value="cateMap.get(#ct)" id="cl">
										<li>
											<a href="<s:property value='#cl.url' /><s:property value='#cl.cateId' />" target="mainFrame">
												<s:property value="#cl.title" />
											</a>
										</li>
									</s:iterator>
									
								</ul>
							</div>
						</div>
					</s:iterator>
				</s:if>
				<s:elseif test="cateList!=null">
					<s:iterator value="cateList" id="cl">
						<div class="left_21">
							<div class="left_211">
								<a href="<s:property value='#cl.url' /><s:property value='#cl.cateId' />">
									<span><s:property value="#cl.title" /></span>
								</a>
							</div>
							
						</div>
					</s:iterator>

				</s:elseif>

			</div>
			
		
		
		</div>
	</body>
</html>


